package classes;

/**
 * @author Anitta 
 * This class is the superclass for Employee and it contains basic information
 * 
 */

import java.io.Serializable;

public class Person implements Serializable {

	// variables

	private String firstName;
	private String lastName;
	private int age;
	private String city;

	// constructors

	public Person() {
	}

	public Person(String firstName, String lastName, int age, String city) {

		this.firstName = firstName;
		this.lastName = lastName;
		this.age = age;
		this.city = city;
	}

	// getters & setters

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String secondName) {
		this.lastName = secondName;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

}
